Skip to content

Conversation

lucasterra
Copy link
Contributor

Drawing groundlayer is disabled by default.

You can enable it by either setting TibiaMap.drawGroundLayer to true

this.drawGroundLayer = true;

Or by calling TibiaMap.setDrawGroundLayer at runtime. This allows you to make a control button to enable or disable it.

var map = new TibiaMap();
...
map.setDrawGroundLayer(true);

@mathiasbynens mathiasbynens changed the base branch from master to main June 16, 2020 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant